package com.simple.framework.web.service;


import com.github.zuihou.base.R;
import com.simple.business.domain.enumeration.ThirdAuthenticationEnum;
import com.simple.business.domain.vo.login.UserLoginSuccessVO;
import com.simple.framework.security.custom.ThirdAuthenticationToken;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ProviderAuthenticationService {
    /**
     * 支持处理的第三方处理者
     */
    List<ThirdAuthenticationEnum> supportsProvider();

    R<UserLoginSuccessVO> authenticate(ThirdAuthenticationToken authenticationToken, HttpServletRequest request);
}
